package com.xwj;

import com.rule.MyRibbonRuleConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

//@SpringBootApplication(scanBasePackages = "com")
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "cloud-order-service", configuration = MyRibbonRuleConfig.class)
public class OrderMain80Application {
    public static void main(String[] args) {
        SpringApplication.run(OrderMain80Application.class, args);
    }
}
